#include "bmc.h"
#include "ui_bmc.h"
#include "wssoft.h"

Bmc::Bmc(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Bmc)
{
    ui->setupUi(this);
    //关闭X按钮
    setWindowFlags(Qt::CustomizeWindowHint | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint);
}

Bmc::~Bmc()
{
    delete ui;

}

//切换页面示例

void Bmc::on_bth_Exit_clicked()
{
    WsSoft *adds = new WsSoft();
    adds->show();
    this->close();
}
